/**============================================================================
 Confidential Information - Limited distribution to authorized persons only.
 This software is protected as an unpublished work under the U.S. Copyright
 Act of 1976.

 Copyright (c) 2011, BluePhoenix Solutions, Inc. All rights reserved.
 ----------------------------------------------------------------------------
 file......: NotepadTableModelInfo.java
 Author....: Vyacheslav Kovalyov
 Created...: 27.10.11

 Description:

 ============================================================================*/
package ru.monyag.pred.swing.ui.notepad;

import ru.monyag.pred.swing.ui.table.TableModelInfo;

import static ru.monyag.pred.core.utils.PredCoreUtils.getString;

/**
 * @author Vyacheslav Kovalyov
 * @version 1.0
 */
public class NotepadTableModelInfo extends TableModelInfo {

    private NotepadTableModelInfo() {
        add(DATE, getString("date"), 10);
        add(TITLE, getString("title"), 22);
        add(MESSAGE, getString("message.body"));
        add(TAGS, getString("tags"), 25);
    }

    public static TableModelInfo getInstance() {
        return INSTANCE;
    }

    public static final int DATE = 0;
    public static final int TITLE = 1;
    public static final int MESSAGE = 2;
    public static final int TAGS = 3;

    private static TableModelInfo INSTANCE = new NotepadTableModelInfo();
}
